<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.slim.min.js"></script>
    <link href="https://cdn.bootcss.com/semantic-ui/2.3.1/semantic.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/semantic-ui/2.3.1/semantic.min.js"></script>

    <title>文件上传</title>

    <style type="text/css">
        body {
            background-color: #DADADA;
        }

        body > .grid {
            height: 100%;
        }

        .image {
            margin-top: -100px;
        }

        .column {
            max-width: 450px;
        }
    </style>
</head>

<body>

<div class="ui middle aligned center aligned grid">
    <div class="column">
        <h2 class="ui teal image header">
            <img src="/dev/logo.jpg" class="image">
            <div class="content">
                文件夹上传
            </div>
        </h2>
        <form class="ui large form" action="/upload" method="post" enctype="multipart/form-data">
            <div class="ui stacked segment">
                <div class="field">
                    <div class="ui left icon input">
                        <i class="user icon"></i>
                        <input type="text" name="name" placeholder="用户名">
                    </div>
                </div>
                <div class="field">
                    <div class="ui left icon input">
                        <i class="lock icon"></i>
                        <input type="password" name="password" placeholder="密码">
                    </div>
                </div>

                <div class="field">
                    <div class="ui left icon input">
                        <i class="file icon"></i>
                        <input name="fileFolder" type="file" webkitdirectory>
                    </div>
                </div>

                <button type="submit" class="ui fluid large teal submit button">上传</button>
            </div>

            <div class="ui error message"></div>

        </form>

        <div class="ui message">
            没有账号，密码？
            <a target="_blank" href="http://www.7yue.pro/">联系七月有风</a>
        </div>
    </div>
</div>

</body>

</html>